package com.my.mapper;

import com.my.bean.AlreadyAppointment;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 已经预约产康项目安排 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2018-08-26
 */
public interface AlreadyAppointmentMapper extends BaseMapper<AlreadyAppointment> {


    //查询字典表里边房间号的id(比如:1号房间 查出来的是字典表1号房间下的id)
    List<AlreadyAppointment> selectResultMap(@Param("admin") boolean admin);
    //根据房间id查那个房间有哪些项目
    List<AlreadyAppointment> selectHome();
    //根据房间id查询有哪些项目
    List<AlreadyAppointment> selectHomeById(Long id,@Param("admin") boolean admin);
    //批量添加
    /*List<AlreadyAppointment> bathInsert();*/


}